home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / ums / receiver2folder.readme < prev    next >
Text File  |  1994-10-08  |  4KB  |  103 lines

  1. Short: sort mail depending on receiver alias
  2. Type: comm/ums
  3. Author: hartmut@oberon.nbg.sub.org (hartmut Goebel)
  4. Uploader: hartmut@oberon.nbg.sub.org (hartmut Goebel)
  5.  
  6.                  Receiver2Folder 1.1
  7.                  ===================
  8.  
  9. Does it get on your nervs to find all that bug reports and admin
  10. mails intermixed with our private ones? Or to check some different
  11. user accounts to avoid this intermix?
  12.  
  13. Well, there is a solution: Receiver2Folder!
  14.  
  15. Receiver2Folder sorts you mail into different folders depending on
  16. the alias it has been addressed to. So all stuff for 'postmaster' and
  17. 'root' may come into the 'Admin-Stuff'-folder and mail for 'bugs'
  18. into 'Oh no, Bugs!' -- assuming postmaster, root and bugs are aliases
  19. for your account.
  20.  
  21. Further on, you no longer need different users (to stay at the
  22. example) 'bugs' and 'root' (alias 'postmaster). You now can user ONE
  23. account, so there's no need for 'account jumping' to see all your new
  24. mail.
  25.  
  26.  
  27. How does it work?
  28. -----------------
  29.  
  30. Template:   NAME/A,PASSWORD/A,SERVER/K,PostPone/S
  31.  
  32. This first three are the standard UMS parameters, which should be
  33. known :-) PostPone will make Receiver2Folder to mark all processed
  34. messages 'postponed' (see below).
  35.  
  36. Receiver2Folder has to be run on the users accont ho's mail should be
  37. sorted. It checks a UMS-Config variable "Receiver2Folder.Folderlist"
  38. to find out which aliases to sort. This variable should be defined
  39. per user, even if Receiver2folder does not care whether it's defined
  40. local or global.
  41.  
  42. The config variable is a list, where each entry consists of a
  43. foldername and a pattern sepereted by a colon. All mails addressed to
  44. an alias matching the pattern are moved into the given folder.
  45.  
  46. Example:
  47.  
  48.  Receiver2Folder.Folderlist = "
  49.     "Postmaster,  Post(ma|ham)ster
  50.      Root,        (root|sysop|mail)
  51.      News,        news#?
  52.      Bugs,        bugs
  53.      Bugs,        receiver2folder-bugs
  54.      Garbage,     sysop"
  55.  
  56.      ^-- folder   ^-- pattern
  57.  
  58. The lines are processed one after another, so the first matching
  59. pattern determines the folder. So in our example nothing will be
  60. sorted into 'Garbage', since mail for 'sysop' is already matched
  61. in the second line and thus moved into folder 'Root'.
  62.  
  63. A folder name may occur several times which may usefull to keep the
  64. overlook if the pattern becomes to complicated.
  65.  
  66. Receiver2Folder does only check unread, not-postponed mail with no
  67. folder set. Out of this messages only those matching at least one of
  68. patterns will be processed.
  69.  
  70.  
  71. NOTE:  Usage in conjunction with mlist2folder.rexx
  72.  
  73.   If you are running 'mlist2folder.rexx' (short: ml2f) with the
  74.   'postpone' option, you should run Receiver2Folder (short: r2f)
  75.   first since else the later will not process any message (see
  76.   above). ml2f has to check a lot more messages, so postpone is quite
  77.   usefull there.
  78.   To avoid ml2f has to process messages already sorted by r2f, just
  79.   call r2f with the postpone option.
  80.  
  81.  
  82. NOTE:  joining user accounts
  83.  
  84.   For the case you had differnet user account to avoid the mail-
  85.   intermix, you can simply join the two accounts by copying the
  86.   access-flags together. This has to be done form a SysOp account. I
  87.   provide a small ARexx-Skript 'JoinUsers.rexx' in this archive which
  88.   has done that job for me. But I take no warranty for it's
  89.   correctness.
  90.  
  91.  
  92.  
  93. ============================= Archive contents =============================
  94.  
  95. Original  Packed Ratio    Date     Time    Name
  96. -------- ------- ----- --------- --------  -------------
  97.    10640    6108 42.5% 26-Jun-94 13:13:24  Receiver2Folder
  98.     7432    2283 69.2% 26-Jun-94 13:13:12  txt/Receiver2Folder.mod
  99.     1482     751 49.3% 29-Jan-94 13:12:34  txt/UMSSupport.mod
  100.     3307    1542 53.3% 26-Jun-94 12:54:20  Receiver2Folder.doc
  101. -------- ------- ----- --------- --------
  102.    22861   10684 53.2% 28-Jun-94 12:46:44   4 files
  103.